<div class="form-group">
  <label for="select" class="col-lg-12 control-label">{{ trans('corebg.users.edit.company') }}</label>
  <div class="col-lg-12">
      <select class="form-control" id="company_id" name="company_id">
          @foreach($companies as $key => $company)
              <option value="{{ $company['id'] }}" @if($company['id']==$resource['company']['id']) selected="selected" @endif >{{ $company['businessname'] }}</option>
          @endforeach
      </select>
      <input type="hidden" id="curr_company_id" name="curr_company_id" value="{{ $resource['company']['id'] }}" >
  </div>
</div>